package cn.wolfcode.service;

import cn.wolfcode.domain.Dept;
import cn.wolfcode.web.exception.DataException;

import java.util.List;

public interface DeptService {
    List<Dept> list();

    void delete(Long id) throws Exception;

    void add(Dept dept) ;

    Dept selById(Long id);

    void update(Dept dept);
}
